<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title></title>
      <script type="text/javascript" src="JObj.js"></script>
  </head>
  <body>

  <script type="text/javascript">
      JObj.plugin("JCalendar");
      var calendar = JObj.Plugin.JCalendar.getInstance();
      //calendar.setEventDate({'2008-9-10':1,'2008-9-11':1,'2008-9-4':1,'2008-8-28':1,'2008-9-6':1});
      calendar.create();
      calendar.onclick = function(year,month,date, haveEvent ){
          alert(year,month,date,haveEvent);
      }

/*      calendar.onmonthchange = function(newYear,newMonth,oldYear,oldMonth){
          alert(newYear + "/" + newMonth,oldYear + "/" + oldMonth);
      }*/
  </script>
  </body>
</html>